<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/10/28
 * Time: 14:35
 */

namespace Admin\Model;
use Think\Model;

class MunicipalModel extends Model{
    public function showPid($id){
        $data = $this ->where(array('pid' =>array('in',$id))) ->select();
        return $data;
    }
    public function ajaxDel($id){
        $this ->where(array('id' =>array('in',$id))) ->save(array('status' => 0));
    }
}